<template>
  <div>
    <h2>Home</h2>
    store.count:{{ store.count }}
    <!-- <button @click="store.count++">+</button> -->
    <!-- <button @click="store.increment()">+</button> -->
    <button @click="incrementStore()">+</button>
    <hr>
    num:{{ num }} <button @click="num++">+</button>
  </div>
</template>

<script setup>
import { ref } from 'vue';
import { store, incrementStore } from '../store.js'

const num = ref(0);

</script>